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

Query time 0.00026

JSON explain

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