SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f58bc1264ddd07a212f8873709683fb11b073291ab122275b50a4ba6938d00c' 
  AND token = 'nXC9XDI95CRaueH9fXkgpa5Lt4M+0MZvT73K0O0ml7Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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