SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f110731050ebf88ddcf4b18e7b334ae24ef80cc721fcdbb996e25fbe2ab48045' 
  AND token = 'P1oVcFxWwWZPhTxnVdF9k8j33TF/CEi7ToJOEQC+dpM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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