SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '512c0c228a35476b6e00b686f9a4bba2fde6678165bce55849a5a160c07caf70' 
  AND token = '6VdtL+LKgvZtan2+ReZxJ+IA4aLgbXyzijtWseTddrU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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