SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca2c4319d92afb0241f6c003424e0259f528a23566c841e3783eac8fb427d9f8' 
  AND token = 'AEnsglzhnt1b1o4YQb3Ri+L46fY3eUjxVB0rmrMHTx4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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