SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5d4262eb3c2d81513ecef1741a79f8092f55e3192d4c022e0583ba820266f9b' 
  AND token = 'dvCyDfvEH0edhSnoDDoBo5ljZ81Ea4shHgxupGSYSDU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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