SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8ceb05a115f0b372b03695d69d569899e31d4f032f75162e356faf80c9422dc2' 
  AND token = 'ktvv9GiALzNoJ47KoilgbtoSjnI8PJI3Yb4tKNRET54=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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