SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58e555d8c49fd3fa2e4be14e87819e55bad90d0defb95e9a242640ed21eab0d3' 
  AND token = 'tLqEF4Bb/BDKOVLdMMj5NQ/VSoucYT+Xn/2p/7E9sAQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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