SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9a5979a0a0885bc5436fe5ed4f2eca5d0a5dbb8838209223a6a9d876bc40f76f' 
  AND token = 'ohmgXGI4W15M+tNPD9FREK3uJpjRbuoyWFNWd06C3gU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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