SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dbf299a6a02ad8499050bd10f758f5badc46a1cbf846aa7205648f59e3b38818' 
  AND token = 'wIduq1LQ1DIbNBprqL5nA4Myw1J8GriadyrxG87/OA8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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