SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24deb45109b74281ca6230bf8dded496b1696b194ed5b1e0979d11c25469a239' 
  AND token = 'I6UdHM9ENRe9vhUigFayZoqZ/8EG4s8qkMLT8IYQjpA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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