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

Query time 0.00015

JSON explain

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