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

Query time 0.00027

JSON explain

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