SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e05840ad125dea8d9a70d093acf24481a248d3faa61499585870aab8a7ff3fec' 
  AND token = '7fEmbIMoaaGh1ZvVW18OfVd2jZ+heXFf1UJEXipiGDo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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