SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec10697e521600e694aed66fa567c2cdb2d439a5397654a037f97a9c9c31e8b7' 
  AND token = 'm12bClTLP7YhNcgxhL0lTeW08DRzUDHXEkmtT3wCyUg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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