SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22520f32f01950e3043a3fd9b4ec2bc26555c8b45a06a63aa308863a1093f65a' 
  AND token = '4MY7fggoUnvEdtfJqOE5O1Kniz8t/0yZnNO4NgFZqQ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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