SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78e366695385a969e920d0ca6508d1c2a549520b8eae7484e8e857a3d3cf682d' 
  AND token = 'zPjtygSEz9ibNHGhwx982/EdyM0Mr03M+sVaSI/7zJk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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