SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ddf715fba67d96a1984a4f3293a3efa2255818c22596e7fd335fc995db8bc36d' 
  AND token = 'QNobONxJjV8eelZ565Yf2Ytz5RA9C0FZ/CF17lkuCO0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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