SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ecf8c2d4ef2321fb866421b6728ed1c344c443207abd8abb1460aa3ed1fe70ac' 
  AND token = 'w7Bt1O8cg/fzTAzdnUpPwOAJ/L/ULJL1Zhh8CfxJF78=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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