SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f7bef64276f87743316dd944e728bbcc1178eccc60971d9574dfb34b9581d458' 
  AND token = 'Z+vJZUt17ZVR+Bw8ZRmj3BUQbzGhZEXNwS8z9EAfx+U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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