SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '291eedbed4ddff602cf1e037fe1a7a17de8635f2ac99ad44be58832370b7138d' 
  AND token = '3hT+23h3wMlsqryGK6HJwfT7aocB+I8XXG9C/4wJdBI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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