SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af49b7c8aad6fd6cf81545dd721ec9a28c40a4ed6839c76c9c89e6eee244d9c5' 
  AND token = 'YNsk7fnlUzA5XhLm69b3ZOa4ev6LH7UpjhYBZqepqmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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