SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '240bd4597c873c3c68589cf8d1d216197b3334f1281b22bbfd9d6f61ad9ec5f9' 
  AND token = '9dth5SkiSLtb3gpn7subrJc9QTRyh2bu6YsDHjnjRmk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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