SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5bdafb9df9fce788d8cbe2726489570cec09251ce8ded287a67ffa23700eefe' 
  AND token = 'nIDUAZUa7BtCzUCj8UOfoOii04WU78qqG17/t0IQTRo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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