SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '333c6d1e5f507a9cd2e57ba76c9db14babf9c80c38d6b69056d2e580e6ae4c24' 
  AND token = 'cH4Xo1NjKlTL1ZV3E3x5SvAL0pHHKZUzmsBDDRxx0xE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}