SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9719a62710e8733933d5af59522aff40876a347ebe17bde32b15685f63b2884e' 
  AND token = 'Ud5hs+oQwTBa+2cd3/jIcEUH4cL2tltXLLYHMmNCTmY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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