SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a9efcaa79f782e07ee56a9047d80e271f9e90bc0d8f17f0df9eb5ca34b88480e' 
  AND token = 'oTcLTOSFPtykei/s0vwByo0RR8E87Cdv3OmLs3FyXRk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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