SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f40961d09770cd166a4233f40dd800bddf5e24380d1304523a12280016b235cf' 
  AND token = 'WA7H9BRE3qgoC5z7Oh7tMuqgT/DpI0ZliLK4Aj9REdk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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