SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8afce7235355461e4854bb07e61b01e9c2df106c76206d43b1e3cfe79ed78ecc' 
  AND token = 'pwLkzrfRSPpmR/M3d50R7yMFqB93UDUqb48dtVAT26U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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