SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0241ceaf7ec857894e9259dcecc4ba56c20c1ef81a7c7bfe039eb228f99bc91b' 
  AND token = 'ct0VXruU6OHcjr1KADjUeaI0B5c1mE0MolTw15fkn/s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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