SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7eea5a7d028df4c552f33ebcf61de71b074e2b17b2586380f787825784392c51' 
  AND token = 'Bray53RihUKstkPUKBYO4NBsokymIZPwouc0lHFAVmw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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