SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a52ef130dfc5aedf2041aeb6d71f78591fe4bc4f7293f2d584bcad2c2d95c791' 
  AND token = '9lu2Wo4NC6q1Q9TsAHHuWg3kPauyn5rPBMXsWA24CXo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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