SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b002e9665b4db5ec77dd4a3bfd717e62fd576e01f5562e7056bef31bea0365c6' 
  AND token = 'tOG49gJDryE24bjNMbHg0cLfVGqsTw3h3R/TtA9T6Bo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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